src\pythontemplate\example_module.py
Run
Missing
Excluded
| 1 | """ |
| 2 | Example module for illustration purposes. |
| 3 | |
| 4 | For actual projects you may delete this module or rename it to write your own code. |
| 5 | """ |
| 6 | |
| 7 | |
| 8 | def example_function(myinput: int) -> int: |
| 9 | """ |
| 10 | Returns the given parameter without change. |
| 11 | |
| 12 | This function is just for demo purposes and should be removed when the template |
| 13 | is used for an actual project. |
| 14 | |
| 15 | Args: |
| 16 | myinput: The parameter to return. |
| 17 | |
| 18 | Returns: |
| 19 | The given parameter without change. |
| 20 | """ |
| 21 | |
| 22 | return myinput |